<template>
  <div>
    <h1>{{name}}</h1>
    <button @click="showName">点我showName</button>
  </div>
</template>

<script>
import {mixin} from './mixin'
export default {
  name: "mix-in02",
  data() {
    return {
      name:'李四',
      age:'19'
    }
  },
  mixins:[mixin],
  mounted() {
    console.log('混合02');
  }
}
</script>

<style scoped>

</style>